* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  overflow: hidden;
}

/* 左侧菜单样式 */
.sidebar {
  width: 250px;
  background: linear-gradient(to bottom, #2c3e50, #1a2530);
  color: white;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.app-title {
  text-align: center;
  padding: 0 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.app-title h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-title p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.menu {
  list-style: none;
  padding: 0 15px;
}

.menu-item {
  margin-bottom: 5px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.menu-item a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.menu-item a i {
  font-size: 1.4rem;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.menu-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(5px);
}

.menu-item.active a {
  background: linear-gradient(to right, #3498db, #2ecc71);
  color: white;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.menu-item.active a:hover {
  transform: none;
}

/* 右侧内容区域 */
.content {
  flex: 1;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
  overflow-y: auto;
}

.page.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition-delay: 0.1s;
}

.page h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #2c3e50;
  padding-bottom: 15px;
  border-bottom: 3px solid #3498db;
  display: inline-block;
}

.page-content {
  margin-top: 20px;
  line-height: 1.8;
}

.footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #2704f0;
  padding: 0 30px;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

.section {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 15px;
}

.option-label {
  text-align: left;
  margin-bottom: 5px;
  display: block;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  margin-right: 14px;
}

.radio-group input[type="radio"] {
  margin-right: 4px;
}

select,
input[type="text"] {
  width: 50%;
  padding: 5px;
  border: 1px solid #000;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 5px;
  font-size: 16px;
}

.row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

button {
  background-color: #2ea043;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  display: block;
  width: 50%;
  margin-top: 15px;
}

button:hover {
  border-color: #396cd8;
}

button:active {
  border-color: #396cd8;
  background-color: #e8e8e8;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    width: 100%;
    padding: 20px 0;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-item {
    margin: 5px;
    flex: 1;
    min-width: 120px;
  }
}

/* 响应式设计 */
@media (prefers-color-scheme: dark) {
  a:hover {
    color: #24c8db;
  }

  button:active {
    background-color: #0f0f0f69;
  }
}
